

Page({
  data: {
    logs: []
  },
  onLoad() {
    console.log(wx.getStorageSync('logs') || [])

    this.setData({
      logs: wx.getStorageSync('logs')
    })
  },
  bindClearLog() {
    this.setData({ logs: [], })
    wx.setStorageSync('logs', "")
  },

  bindBack() {
    wx.navigateBack({
      delta: -1
    })
  },
})


